import request from '@/utils/request'
/**
//  * @param{username,password}data
 */
export const register = () => {
  return request({
    method: 'POST',
    url: '/user/register',
    data: 'data'
  })
}
export const lohin = (data) => {
  return request({
    method: 'POST',
    url: '/user/lohin',
    data
  })
}
